---
import { getAllContributors } from '~/util/getContributors';
import FacePile from './FacePile.astro';

export interface Props {
	githubRepo?: `${string}/${string}`;
}

const { githubRepo = 'withastro/docs' } = Astro.props as Props;

const contributors = await getAllContributors(githubRepo);
---

<FacePile {contributors} />
